<%--
  Created by IntelliJ IDEA.
  User: SuZePing
  Date: 2021/1/13
  Time: 10:46
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta name="description" content="">
	<meta name="keys" content="">
	<meta name="author" content="">
	<base href="http://${pageContext.request.serverName}:${pageContext.request.serverPort}${pageContext.request.contextPath}/" />
	<script src="static/jquery/jquery-2.1.1.min.js"></script>
	<script src="static/bootstrap/js/bootstrap.min.js"></script>
	<script src="static/layer/layer.js"></script>
	<link rel="stylesheet" href="static/bootstrap/css/bootstrap.min.css">
	<link rel="stylesheet" href="static/css/font-awesome.min.css">
	<link rel="stylesheet" href="static/css/login.css">
	<title>药店信息管理系统</title>
</head>
<body>
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
	<div class="container">
		<div class="navbar-header">
			<a class="navbar-brand" href="#" style="font-size:32px;">药店信息管理系统</a>
		</div>
	</div>
</nav>

<div class="container">

	<form action="security/do/login.html" method="post" class="form-signin" role="form">
		<h2 class="form-signin-heading">
			<i class="glyphicon glyphicon-user"></i> 药店信息系统登录
		</h2>
		<p style="font-size:15px" class="help-block label label-warning">${SPRING_SECURITY_LAST_EXCEPTION.message == "Bad credentials" ? "抱歉，账号密码错误，请重新登录！" : ""}</p><br><br>
		<div class="form-group has-success has-feedback">
			<input type="text" name="account" class="form-control" id="inputAccount"
				   placeholder="请输入登录账号" autofocus>
		</div>
		<div class="form-group has-success has-feedback">
			<input type="password" name="password" class="form-control" id="inputPassword"
				   placeholder="请输入登录密码" style="margin-top: 10px;">
		</div>
		<button type="submit" class="btn btn-lg btn-success btn-block">登录</button>
	</form>
</div>
</body>
</html>
